Theme Tab Style Constants
You can pass a constant of type
ThemeTabStyle
to the function
DrawThemeTab
to draw a theme-compliant tab in a specific state. You can also pass a
ThemeTabStyle
constant to the function
GetThemeTabRegion
to obtain the region containing a tab in a specific state. The
ThemeTabStyle
constants are available with Appearance Manager 1.1 and later.
enum {
kThemeTabNonFront = 0,
kThemeTabNonFrontPressed = 1,
kThemeTabNonFrontInactive = 2,
kThemeTabFront = 3,
kThemeTabFrontInactive = 4
};
typedef UInt16 ThemeTabStyle;
Constant descriptions
-
kThemeTabNonFront
-
An active tab that is not the frontmost in a tab control.
-
kThemeTabNonFrontPressed
-
A tab that is being clicked on by the user which is not the frontmost tab in a tab control.
-
kThemeTabNonFrontInactive
-
An inactive tab that is not the frontmost in a tab control. The tab may either be inactive because it has been individually disabled or because the tab control as a whole is currently inactive.
-
kThemeTabFront
-
The frontmost tab in an active tab control.
-
kThemeTabFrontInactive
-
The frontmost tab in an inactive tab control.
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)